package org.jeecg.modules.couteachingjobexecute.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.couteachingjobexecute.entity.CouTeachingJobExecute;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.couteachingjobexecute.vo.CouTeachingJobExecuteVo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Description: cou_teaching_job_execute
 * @author: baochangrong
 * @Date:   2022-04-11
 * @Version: V1.0
 */
@Service("couTeachingJobExecuteMapperImpl")
public interface CouTeachingJobExecuteMapper extends BaseMapper<CouTeachingJobExecute> {
    public List<CouTeachingJobExecute> queryTeachingJobExecuteData(@Param("couTeachingJobExecuteVo") Map info);
    public List<CouTeachingJobExecute> queryCouTeachingJobExecuteAll(@Param("couTeachingJobExecuteVo")CouTeachingJobExecuteVo couTeachingJobExecuteVo);

    public List<JSONObject> queryCouTeachingJobExecuteWhere(@Param("couTeachingJobExecuteVo") CouTeachingJobExecuteVo couTeachingJobExecuteVo);
    public List<JSONObject>  getTeachingJobExeSection(@Param("couTeachingJobExecuteVo")CouTeachingJobExecuteVo couTeachingJobExecuteVo);
    public List<JSONObject>  getTeacherCount(@Param("couTeachingJobExecuteVo")CouTeachingJobExecuteVo couTeachingJobExecuteVo);
    public List<JSONObject>  getSubjectCount(@Param("couTeachingJobExecuteVo")CouTeachingJobExecuteVo couTeachingJobExecuteVo);

    public List<Map> queryTeachingJobExecuteDataToo(@Param("couTeachingJobExecuteVo") Map info);
    public int runTeachingJobExecuteDataAll(@Param("couTeachingJobExecuteVo") Map info);
    public int delTeachingJobExecute(@Param("couTeachingJobExecuteVo") Map info);

    public List<CouTeachingJobExecute> queryTeacherJobDurationDate(Page<CouTeachingJobExecute> page,@Param("couTeachingJobExecuteVo") CouTeachingJobExecuteVo couTeachingJobExecuteVo);
    public List<CouTeachingJobExecute> queryTeacherJobDurationWeekSetIndex(Page<CouTeachingJobExecute> page,@Param("couTeachingJobExecuteVo") CouTeachingJobExecuteVo couTeachingJobExecuteVo);
}
